<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{commons/public1::common-public}">
    <meta charset="utf-8">
    <title>论坛</title>
    <style>
        .product-name a{
           color: #0C0C0C;
        }
        .product-name a:hover{
            color: #1E9FFF;
        }
    </style>
</head>
<body>
<header th:replace="~{commons/header1::common-header}"></header>
<div style="width: 1000px;margin: 0 auto">
    <div class="item-product pt-10" th:each="forumInfo: ${forumInfos}">
        <div class="grid-list-caption align-items-center">
            <div class="product-name" style="font-size: 28px">
                <a style="color: #0C0C0C;" th:href="@{/forum/toForumDetail(id=${forumInfo.getId()})}">[[${forumInfo.getTitle()}]]</a>
            </div>
            <div class="rating" style="height: 3px">
                <span></span>
            </div>
            <a th:href="@{/forum/toForumDetail(id=${forumInfo.getId()})}" style="color: #0C0C0C;">
                <p>[[${forumInfo.getContent()}]]</p>
            </a>
            <div class="price-box" style="margin-top:10px">
                <span class="regular-price">楼主：[[${forumInfo.getUserName()}]]</span>
                <span class="regular-price">时间：[[${forumInfo.getCreateTime()}]]</span>
                <span class="regular-price"><i class="fa fa-edit"></i>评论数：[[${forumInfo.getCountComment()}]]</span>
            </div>
        </div>
        <hr class="layui-border-black">
    </div>
</div>

</body>
</html>